package com.cn.jdia.dc.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cn.jdia.dc.dao.AccesstokenMapper;
import com.cn.jdia.dc.model.Accesstoken;
import com.cn.jdia.dc.service.IAccessService;

@Service("accessService")
public class IAccessServiceImpl implements IAccessService {

	@Resource
	private AccesstokenMapper accessDao;
	
	@Override
	public Accesstoken checklogin(String acount, String pwd) {
		return this.accessDao.queryAccessToken(acount, pwd);
	}



}
